package com.cty.Config;


import org.aspectj.lang.annotation.Aspect;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.context.annotation.PropertySource;

@Configuration
@ComponentScan("com.cty")//扫描时将aop的增强类也扫描进来
@EnableAspectJAutoProxy //在配置类中开启切面的读取
public class JavaConfig {
}
